package com.amsp.oa.oademo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;

@Data
@TableName("reward_punishment_report")
@ApiModel(description = "奖惩提报单实体")
public class RewardPunishmentReport {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("工号")
    private String employeeId;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("部门名称")
    private String departmentName;

    @ApiModelProperty("奖惩类别")
    private String rewardPunishmentType;

    @ApiModelProperty("事由")
    private String reason;

    @ApiModelProperty("金额")
    private BigDecimal amount;

    @ApiModelProperty("职务")
    private String position;

    @ApiModelProperty("奖惩日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate date;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("批准人")
    private String approvalPerson;

    @ApiModelProperty("审核人")
    private String reviewPerson;

    @ApiModelProperty("制作人")
    private String maker;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

    @ApiModelProperty("是否删除")
    private Boolean deleted;
}